package cn.zl.web.dto.dashboard;

import cn.yunbamboos.rest.service.dto.Data;
import cn.yunbamboos.rest.service.dto.out.GenericOutDTO;

public class DashboardSipOutDTO extends GenericOutDTO {

    private String id;
    private String domain;
    private String ip;
    private int port;
    private String password;

    @Override
    public void encode(Data data) {
        super.encode(data);
        data.set("id", id);
        data.set("domain", domain);
        data.set("ip", ip);
        data.set("port", port);
        data.set("password", password);
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
